/*
  The <pit.h> header file defines the PIT - ("Programmable Interrupt Timer" on an Intel 386 like system) handling functions.
  The PIT is the chip called 8253.
*/

#ifndef _PIT_H
#define _PIT_H

#include <types.h>

/* Functions */

extern void pit_set_frequency(int frequency);
extern void pit_isr(void);
extern void pit_get_time(dword_t *d,dword_t *ms,dword_t *us);
extern void pit_get_time_ms(qword_t *time_ms);

#endif /* _PIT_H */
